package com.qaml.mes.device.domain.convert;

import com.qaml.mes.device.dao.CheckUpkeepRecordRecheckDO;
import com.qaml.mes.device.vo.eqp.CheckUpkeepRecordRecheckVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Filename：CheckUpkeepRecordRecheckConvert
 * @Author：zhangzhifeng
 * @Project：mes-device
 * @Date：2024/3/8 13:49
 */
@Mapper
public interface CheckUpkeepRecordRecheckConvert {

    CheckUpkeepRecordRecheckConvert INSTANCE = Mappers.getMapper(CheckUpkeepRecordRecheckConvert.class);

    /**
     * 转换 批量 DO -->VO
     *
     * @param checkUpkeepRecordRecheckDOList
     * @return
     */
    List<CheckUpkeepRecordRecheckVO> dos2VOS(List<CheckUpkeepRecordRecheckDO> checkUpkeepRecordRecheckDOList);

    /**
     * 转换 DO -->VO
     *
     * @param checkUpkeepRecordRecheckDO
     * @return
     */
    CheckUpkeepRecordRecheckVO do2VO(CheckUpkeepRecordRecheckDO checkUpkeepRecordRecheckDO);
}
